package com.yby.dome10;

/**
 * 钢琴类
 */
public class Piano extends Instrument{
    //重写父类Instrument的makeSound()方法
    public void makeSound(){
        System.out.println("钢琴了发出余音袅袅、悠扬、铮铮铿铿的声音");
    }
}
